Getting Started with Trino CLI: Installation and Setup
-
Install Eclipse Termurin 24
-
Download the trino server file using the below command:
- Extract the contents of the file using below command
-
create etc directory in trino-server-474
-
create below mentioned files under etc directory
config.properties
jvm.config
node.properties
catalog directory
create a file named teradata.properties
Teradata connector properties
-
Download trino-teradata zip file
-
Extract the zip file and place the folder: trino-teradata-474 in plugin directory of trino-server-474
The structure should be as follows:
trino-server-474 → plugin → trino-teradata-474
- Download the jar file from the given link in the trino-server-474 directory :
-
https://repo1.maven.org/maven2/io/trino/trino-cli/474/trino-cli-474-executable.jar
-
Make jar as executable by running
chmod +x
Start Trino Server
The installation provides a bin/launcher
script that can be used manually or as a daemon startup script.
Start Trino CLI
Start Trino CLI using